package hcn.protocol.ods.casehistory;

import hcn.util.validation.InvokeType;
import hcn.util.validation.ValidationAnnotaion;
import lombok.Data;

/**
 * @Author: zhusm@bsoft.com.cn
 *
 * @Description: 病历复印--计费规则请求参数
 *
 * @Create: 2019-06-25 10:37
 **/
@Data
public class BLCalculateCostRuleRequest {
    private String tenantId;
    private String orgId;
    @ValidationAnnotaion.NotNull(errorDescription = "承运物流商不能为空")
    private String carrierLogisticsCode;//物流承运商代码
    @ValidationAnnotaion(type = InvokeType.NUMBER, minValue = 0.01,errorDescription = "单价至少为0.01元")
    private double univalent;//单价
    private int quantity;//数量
    private boolean stintQuantity;//是否限制数量

    private int paperWeight;//纸张计重

    private String calculateCostModelId;//计费模板id
}
